package com.gujia.designpattern.strategy;

import com.gujia.designpattern.strategy.impl.FlyNoWay;

public class BigYellow extends Duck{

    public BigYellow() {
        this.setFlyingStragety(new FlyNoWay());
    }

    @Override
    public void display() {
        System.out.println("我身体很大，嘴巴黄黄");
    }
}
